package org.example.vo;

import org.example.domain.Message;
import org.example.domain.User;

import java.util.List;

public class MessageVO {
    //消息的发送者
    private User messageFromUser;
    private List<Message> messageList;
    private int noReadCount;

    public int getNoReadCount() {
        return noReadCount;
    }

    public void setNoReadCount(int noReadCount) {
        this.noReadCount = noReadCount;
    }

    public User getMessageFromUser() {
        return messageFromUser;
    }

    public void setMessageFromUser(User messageFromUser) {
        this.messageFromUser = messageFromUser;
    }

    public List<Message> getMessageList() {
        return messageList;
    }

    public void setMessageList(List<Message> messageList) {
        this.messageList = messageList;
    }
}
